package it.slothy.noveleditor.enumaration;

import it.slothy.noveleditor.classes.elements.VNStory;

import java.util.HashMap;

public enum VNEnumStory {
	
	STR_CONVERSATION(1, "Conversation"),
	STR_EVENTPAGE(2, "EventPage"),
	STR_CHAPTER(3, "Chapter"),
	STR_NARRATOR(4, "Narrator");
	
	private int id;
	private String name;
	
	private VNEnumStory(int id, String name) {
		this.id = id;
		this.name = name;
		
		//Creo la lista relativa nella classe in oggetto
		VNStory.stories.put(this, new HashMap<String, VNStory>());
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}
	
}
